//
//  KitchenVCModel.m
//  项目A --半糖
//
//  Created by romana on 16/5/17.
//  Copyright © 2016年 romana. All rights reserved.
//

#import "KitchenVCModel.h"

@implementation KitchenVCModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

-(void)setTopic:(NSMutableArray *)topic{
    
    _topic = topic;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _topic) {
        KitchenSecondModel *secondModel = [[KitchenSecondModel alloc] init];
        [secondModel setValuesForKeysWithDictionary:dic];
        [array addObject:secondModel];
    }
    _topic = [NSMutableArray arrayWithArray:array];
    
}


@end
